package org.example.service;

import org.example.controller.LoginController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service

public class LoginService {
    //容器启动时，会自动注入bean对象属性
    @Autowired
    private LoginController.Tmp tmpFactory;
    @Autowired
    private LoginController.Tmp tmp;

    public LoginController.Tmp getTmpFactory() {
        return tmpFactory;
    }

    public void setTmpFactory(LoginController.Tmp tmpFactory) {
        this.tmpFactory = tmpFactory;
    }


    public LoginController.Tmp getTmp() {
        return tmp;
    }

    public void setTmp(LoginController.Tmp tmp) {
        this.tmp = tmp;
    }
}
